<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="__BOOTSTRAP__/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__BOOTSTRAP__/css/bootstrap-theme.min.css">
    <link rel="stylesheet" type="text/css" href="__CSS__/msg.css"/>


    <script type="text/javascript" src="__JS__/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="__BOOTSTRAP__/js/bootstrap.min.js"></script>

    <script type="javascript">
        $('#myTab a').click(function (e) {
            e.preventDefault()
            $(this).tab('show')
        })
    </script>
    <style>
        .box{
            width: 19px;
            height: 25px;
            padding: 0 5px 0 0;
        }
        span{
            font-size: 20px;
        }
        .sub{
            width: 100px;
            height: 30px;
            position: relative;
            top: 130px;
            left:340px;
        }
    </style>
</head>
<body>

<div class="bs-example bs-example-tabs" role="tabpanel" data-example-id="togglable-tabs" id="table">
    <ul id="myTab" class="nav nav-tabs" role="tablist">
        <li role="presentation" class="active"><a href="#home" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">{$group}权限</a></li>
    </ul>
    <div id="myTabContent" class="tab-content home">
        <div role="tabpanel" class="tab-pane fade in active" id="home" aria-labelledBy="home-tab">
           <form action="{:U('Group/authHandle')}" method="post" style="padding: 29px;">
                    <foreach name="rule" item="v">
                            {$v.id}、<input class="box" type="checkbox" name="rule[]" value="{$v.id}"><span>{$v.title}</span>&nbsp;&nbsp;&nbsp;&nbsp;
                    </foreach>
                    <input type="hidden" name="id" value="{$id}">
                    <input  type="submit" class="btn btn-primary sub" value="提交">
           </form> 
        </div>

    </div>
</div>

</body>
</html>